package io.github.talelin.latticy.dto;

import lombok.Getter;
import lombok.Setter;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.DecimalMin;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.math.BigDecimal;

@Getter
@Setter
public class ExpenseDTO {

    private String image;

    @NotNull
    @DecimalMin(value = "0.00")
    private BigDecimal amount;

    private String description;
}
